import request from "@/utils/request"

// 新增检查表
export function postGoodAdd(data) {
  return request({
    url: "/good/add",
    method: "post",
    data
  })
}

export function postGoodUpdate(data) {
  return request({
    url: "/good/update",
    method: "put",
    data
  })
}

export function getGoodList(data) {
  return request({
    url: "/warehouse/storeList",
    method: "post",
    data: {
      warehouseId: 10
    }
  })
}

export function postGoodDel(data) {
  return request({
    url: "/good/delete",
    method: "delete",
    data
  })
}

